<?php

use yii\widgets\ActiveForm;

use yii\helpers\Html;

?>
	<?php

$form = ActiveForm::begin([
    'id' => 'mail-setting-form',
    'enableAjaxValidation' => true
]);
?>

					<?=$form->field($model, 'mailHost')->textInput(['autocomplete' => 'off'])?>



					<?=$form->field($model, 'mailUsername')->textInput(['autocomplete' => 'off'])?>


					<?=$form->field($model, 'mailPassword')->passwordInput(['autocomplete' => 'off'])?>



					<?=$form->field($model, 'mailPort')->textInput(['autocomplete' => 'off'])?>


					<?=$form->field($model, 'mailEncryption')->dropDownList(['' => 'Default','ssl' => 'SSL','tls' => 'TLS'], ['class' => 'form-control'])?>



	<?= $form->field($model, 'mailUseTransport')->checkbox()?>





<?= Html::submitButton(Yii::t('hass', 'Save'), ['class' => 'btn bg-maroon btn-flat btn-block'])?>


<?php $form::end(); ?>